<?php 
$CI =& get_instance();
$CI->load->library("front/header_lib");

$page = array('home'=>'Home','about-us'=>'About us', 'litho-print'=>'Traditional Litho Print','privacy' => 'privacy','terms-and-conditions'=>'Terms and Conditions' );
$page_title =  ($CI->uri->segment(1) != ''?$page[$CI->uri->segment(1)]:$page['home']);

$datas = array();
if($CI->uri->segment(1) == 'about-us')
    $datas['active_menu_about'] = 1;
foreach($query as $row)
{
	$title = $row->staticpage_title;
	$subtitle = $row->staticpage_subtitle;
	$contents = $row->staticpage_content;	
    $contents2 = $row->staticpage_content2;
    $metakey_page = $row->staticpage_metakey;
    $metadesc_page = $row->staticpage_metadesc;  
}
if($CI->uri->segment(1) == '')
	$title = '';
$CI->header_lib->display_header_element(array("script"=>array("jquery"),"page_title"=>$title,"metakey_page"=>$metakey_page,"metadesc_page"=>$metadesc_page));
$CI->header_lib->display_header($datas);


if($which_page == 'about')
{
    $which_pages = "history";
    //$which_page2 = "services";
}
elseif($which_page == 'term_condition')
{
    $which_pages = "";
    $which_page2 = "";
}
else
{
    $which_pages = "ideal for";
    //$which_page2 = "specs";
}


?>
<!--body content starts-->

<div id="container_wrapper">

    	<div class="left_part">
        <?php //echo $CI->header_lib->display_panel_left($data);?>
        <!--	<a href="<?php echo site_url();?>"><img class="sub_smallLogo" src="images/small_log.jpg" height="201" width="262" alt="Mykprisguide US" /></a>
            <div class="div04">
            <p class="normal_text">Simply input the details and submit the form to us. We will get back to you within 24 hours.</p>
            <a class="readmore">our more agencies &gt;&gt;</a>-->
           <!-- </div>-->
            <div class="subscribe">
            <p class="normal_text">Subscribe or unsubscribe from our <br /> specials newsletter. Be the first to <br /> know of our latest special deals.
           
                        <div class="height10_10"></div>

           
            <ul style="list-style:none;">
            	<form method="post" action="<?php echo site_url()?>current-special/subscriber" name="subscribers" id="subscriber">
                <li style="margin-bottom:7px;">
                <select name="status" id="status" style="width:178px; font-size:17px; color:#0C1217; padding:2px 4px 1px 4px;">
                    <option value="1">Yes! Subsccribe Me</option>
                    <option value="2">Unsubscribe Me</option>
                </select>
                
                </li>
                <li>
                <input style="width:170px; font-size:17px; color:#0C1217; padding:2px 4px;" type="text" name="emailId" id="emailId" value="your e-mail address" onclick="this.select()" />
                  </li>
                  <div class="height5_5"></div>
                    <li>
                <input class="blue_btn" type="submit" name="submit" id="submit" value="Submit" /> 
                </li>
                
                </form>
            </ul>
            </div>
        </div>
    	<div class="right_part">
        <div class="about_section">
        	<div class="div005><?php echo $which_pages;?></div>
        	<div class="div05">
            <h1 class="heading01"><?php echo $title;?></h1>
            <p class="redTxt"><?php echo $subtitle;?></p>
            <p class="normal_text"><?php echo htmlspecialchars_decode($contents);?></p>
            </div>
            <div class="clear"></div>
        </div>
        <div class="about_section">
        	<div class="div005_left" style="padding-top:10px;"><?php echo $which_page2;?></div>
        	<div class="div05">
            <p class="normal_text"><?php echo htmlspecialchars_decode($contents2);?></p>
            </div>
            <div class="clear"></div>
        </div>
        
        </div>
         <?php $this->load->view(TEMPLATE_NAME.'/front/side_right'); ?>
        <div class="clear"></div>    

   
</div>

<!--body content ends-->
<?php
$CI->load->library("front/footer_lib");
$CI->footer_lib->display_footer();
$CI->footer_lib->display_footer_element();

?>